import request from '@/utils/request'
export function listList(query) {
  return request({
    url: '/mapp/mark/list',
    method: 'get',
    params: query
  })
}
export function getList(id) {
  return request({
    url: '/mapp/mark/' + id,
    method: 'get'
  })
}
export function addList(data) {
  return request({
    url: '/mapp/mark',
    method: 'post',
    data: data
  })
}
export function updateList(data) {
  return request({
    url: '/mapp/mark',
    method: 'put',
    data: data
  })
}
export function delList(id) {
  return request({
    url: '/mapp/mark/' + id,
    method: 'delete'
  })
}
